package com.dt.app.modules.product.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 前台栏目属性，用于属性搜索，和产品规格类似
 * </p>
 *
 * @author 陈辉
 * @since 2024-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("category_scene_atts")
@ApiModel(value="CategorySceneAtts对象", description="前台栏目属性，用于属性搜索，和产品规格类似")
public class CategorySceneAtts implements Serializable {

    private static final long serialVersionUID=20240313215045861L;

    @ApiModelProperty(value = "栏目分类属性")
    @TableId(value = "category_scene_atts_id", type = IdType.AUTO)
    private Integer categorySceneAttsId;

    @ApiModelProperty(value = "企业")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "栏目")
    @TableField("category_scene_id")
    private Integer categorySceneId;

    @ApiModelProperty(value = "规格名称")
    @TableField("gg_name")
    private String ggName;

    @ApiModelProperty(value = "值 , 号隔开")
    @TableField("gg_value")
    private String ggValue;

    @ApiModelProperty(value = "降序 组合优先级 级别越高值越大，组合按这个排序")
    @TableField("gg_level")
    private Integer ggLevel;


}
